﻿<admintpl file="header" />
</head>
<body class="J_scroll_fixed">
	<div class="wrap js-check-wrap">
		<form class="well form-search" method="get" action="{:U('Pay/Ptb/data_agent')}">
			<div class="search_type cc mb10">
				<div class="mb10">
					<span class="mr20"> 
					
                                        一级代理账号： 
					<input type="text" name="agentname"
						style="width: 150px;" value="{$formget.agentname}"
						placeholder="请输入账号..."> 
					&nbsp;&nbsp; &nbsp;&nbsp; 
                                        <!--<br><br>-->
                                        帐号注册时间：
					<input type="text" name="start_time"
						class="js-date" value="{$formget.start_time|default=''}" placeholder="开始时间..."
						style="width: 100px;" autocomplete="off">
					- 
					<input	type="text" class="js-date" name="end_time" placeholder="时间..."
						value="{$formget.end_time}" style="width: 100px;"
						autocomplete="off"> &nbsp; &nbsp; 
					</span>
                                        <input type="submit"  name='submit' class="btn btn-primary" value="搜索" />
				</div>
			</div>
		</form>
		<form class="js-ajax-form" action="" method="post">
			<table class="table table-hover table-bordered table-list">
				<thead>
                                    <tr>
                                        <th>最近充值时间</th>
                                        <th>帐号注册时间</th>
                                        <th>二级代理账号</th>
                                        <th>余额</th>					
                                    </tr>
				</thead>

                                    <tr>
                                        <th style='color:#f00'>汇总</th>
                                        <th style='color:#f00'>--</th>
                                        <th style='color:#f00'>--</th>
                                        <th style='color:#f00'>{$sums}</th>					
                                    </tr>

				<foreach name="orders" item="vo">
				<tr>
                                    <td>{$vo.recent_charge_time}</td>
                                    <td>{$vo.account_create_time}</td>
                                    <td>{$vo.agentname}</td>
                                    <td>{$vo.remain}</td>				
				</tr>
				</foreach>

			</table>
			<div class="pagination">{$Page}</div>

		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
